package com.hfjava.ebook.service;

import com.hfjava.ebook.entity.Book;
import com.hfjava.ebook.entity.Pageable;

import java.util.List;

public interface BookService {

    Pageable findByPage(Integer categoryId, int page, int size);



    int saveBook(Book book);

    int modifyBook(Book book);

    int deleteBookById(Integer bid);

    Book findBookById(Integer bid);


}
